<template>
  <div>login</div>
  <el-button type="primary">按钮</el-button>
</template>

<script lang="ts">
import { defineComponent, onMounted } from 'vue'
import { banners } from '@/api/user'
export default defineComponent({
  setup() {
    onMounted(() => {
      banners().then((res) => {
        console.log(res)
      })
    })
    return {}
  }
})
</script>

<style lang="less" scoped></style>
